<table class="head">
  <tr class="tr1">
    <th colspan="3"></th>
    <td></td>
    <td style="width: 370px"></td>
    <td style="width: 200px;text-align:center;"><img src="assets/image/title.jpg" width="142px" height="41px"/>
      <img src="assets/image/logo.jpg" width="40px" height="40px">
    </td>
    <td style="width: 550px;text-align:right;">
    </td>
    <td style="width: 100px;text-align:center;"><nav>
    </nav></td>
  </tr>
  <tr class="tr2">
    <th style="width: 150px;"><button (click)="reLoad()" class="list">登录页面</button></th>
    <th></th>
    <th style="width: 100px"></th>
    <td colspan="3"></td>
    <td style="width: 100px;text-align:right;"></td>
    <td style="width: 100px"></td>
  </tr>
</table>
<div class="background">
  <form #formRef="ngForm" (ngSubmit)="onSubmit(formRef.value)" class="logform">
    <fieldset ngModelGroup="login">
      <div align="center">
        <label class ="mark">账号: </label>
        <input name="username" type="text" [(ngModel)]="username" #usernameRef="ngModel" required minlength="3" id="username">
        <label *ngIf="usernameRef.errors?.required"></label>
        <label *ngIf="usernameRef.errors?.minlength"></label>
        <label *ngIf="auth?.hasError">{{auth.errMsg}}</label>
        <br><br>
      </div>
      <div align="center">
        <br><br>
        <label class ="mark">密码: </label>
        <input name="password" type="password" [(ngModel)]="password" #passwordRef="ngModel" required>
        <label *ngIf="passwordRef.errors?.required"></label>
      </div>
    </fieldset>
      <div align="center">
      <button type="submit" class="login" (click)="gologin()">登录</button>
      </div>
  </form>
<br>
<br>
<div align="center">

  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br><br><br>
  <br><br><br>
  <br><br><br>
  <br><br><br>
  <br><br><br>
  <br><br><br>
  <br><br><br>


</div>
</div>
